[qemu] Fix -net tap option when no ifname is specified.
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 27 Jul 2006 10:20:32 +0000 (11:20 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 27 Jul 2006 10:20:32 +0000 (11:20 +0100)
commit28683978a7beec6a2f98fc2a05cf18302a5a15a7
treec7c935fa6e6ecc62d0dcc74e05aa23888c44c0fc
parentb26303fc1e44c679ac128092d7675481f82808c0
[qemu] Fix -net tap option when no ifname is specified.
Uninitialized ifname can cause qemu to quit.  If the first character of the
ifname is not \0, qemu will think it's a valid ifname and configure
/dev/net/tun to use it.  The configuration fails and qemu exits.

Based on a patch from: Steve Dobbelstein <steved@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
17 files changed:
tools/ioemu/patches/domain-reset
tools/ioemu/patches/domain-timeoffset
tools/ioemu/patches/hypervisor-pit
tools/ioemu/patches/ioemu-ia64
tools/ioemu/patches/qemu-bugfixes
tools/ioemu/patches/qemu-logging
tools/ioemu/patches/qemu-smp
tools/ioemu/patches/shared-vram
tools/ioemu/patches/support-xm-console
tools/ioemu/patches/vnc-cleanup
tools/ioemu/patches/vnc-fixes
tools/ioemu/patches/vnc-start-vncviewer
tools/ioemu/patches/xen-domain-name
tools/ioemu/patches/xen-domid
tools/ioemu/patches/xen-mm
tools/ioemu/patches/xen-network
tools/ioemu/vl.c